package com.tanhua.api.db;

import com.tanhua.db.User;
import com.tanhua.db.UserInfo;

public interface UserApi {

    //保存用户(返回id)
    Long saveUser(User user);

    //根据手机号做查询
    User findByPhone(String phone);

    void save(UserInfo userInfo);

    void update(UserInfo userInfo);

    void updateUser(String phone1,String phone2);
}
